package com.s4j.struts.biz.model;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name="biz_li_bgwm")
public class BizLiBgwm {
	private Long bgwmId;
	private String drugname;
	private BizLiTreathis treathis;
	private String fyjl;
	private String yyqzsj;
	private String tyyy;
	private String xqxzh;
	private String dnaqs;
	private String dnatw;
	private String dnatf;
	private String dnafe;
	private String dnazy;
	private String dnany;
	private String zdjl;
	private String lx;
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	public Long getBgwmId() {
		return bgwmId;
	}
	public void setBgwmId(Long bgwmId) {
		this.bgwmId = bgwmId;
	}
	public String getDrugname() {
		return drugname;
	}
	public void setDrugname(String drugname) {
		this.drugname = drugname;
	}
	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name="treatId")
	public BizLiTreathis getTreathis() {
		return treathis;
	}
	public void setTreathis(BizLiTreathis treathis) {
		this.treathis = treathis;
	}
	public String getFyjl() {
		return fyjl;
	}
	public void setFyjl(String fyjl) {
		this.fyjl = fyjl;
	}
	public String getYyqzsj() {
		return yyqzsj;
	}
	public void setYyqzsj(String yyqzsj) {
		this.yyqzsj = yyqzsj;
	}
	public String getTyyy() {
		return tyyy;
	}
	public void setTyyy(String tyyy) {
		this.tyyy = tyyy;
	}
	public String getXqxzh() {
		return xqxzh;
	}
	public void setXqxzh(String xqxzh) {
		this.xqxzh = xqxzh;
	}
	public String getDnaqs() {
		return dnaqs;
	}
	public void setDnaqs(String dnaqs) {
		this.dnaqs = dnaqs;
	}
	public String getDnatw() {
		return dnatw;
	}
	public void setDnatw(String dnatw) {
		this.dnatw = dnatw;
	}
	public String getDnatf() {
		return dnatf;
	}
	public void setDnatf(String dnatf) {
		this.dnatf = dnatf;
	}
	public String getDnafe() {
		return dnafe;
	}
	public void setDnafe(String dnafe) {
		this.dnafe = dnafe;
	}
	public String getDnazy() {
		return dnazy;
	}
	public void setDnazy(String dnazy) {
		this.dnazy = dnazy;
	}
	public String getDnany() {
		return dnany;
	}
	public void setDnany(String dnany) {
		this.dnany = dnany;
	}
	public String getZdjl() {
		return zdjl;
	}
	public void setZdjl(String zdjl) {
		this.zdjl = zdjl;
	}
	public String getLx() {
		return lx;
	}
	public void setLx(String lx) {
		this.lx = lx;
	}
	
	

}
